package com.yilin.tms.order.service.order;

import com.yilin.tms.core.application.PageData;
import com.yilin.tms.core.entity.order.party.OrderAppraise;
import com.yilin.tms.core.entity.order.transit.TransitOrdinaryOrder;
import com.yilin.tms.core.entity.user.account.Account;

public interface ITransitOrdinaryService {
    void saveOrUpdateTransitOrdinary(Account account, TransitOrdinaryOrder transitOrdinaryOrder);

    //获取分页
    PageData<TransitOrdinaryOrder> getTransitOrdinaryPage(Account loginUser, TransitOrdinaryOrder query, Integer start, Integer limit);


    //根据ID获取
    TransitOrdinaryOrder getTransitOrdinaryOrderById(String id);

    //审核
    void auditingTransitOrdinaryOrder(Account account, TransitOrdinaryOrder transitOrdinaryOrder);

    //付款完成
    void paymentTransitOrdinaryOrder(Account account, TransitOrdinaryOrder transitOrdinaryOrder);

    //删除
    void deleteTransitOrdinaryOrder(String id);
}
